package com.epfresh.bean;

import java.util.List;

/**
 * Created by zhaozhenqiang on 2018/4/19.
 */

public class JustTest {


    /**
     * content : [{"pack":"30公斤/箱","type":1,"packageContainer":"箱","id":4524,"title":"宁夏油麦菜(一级)","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":60,"priceOnly":3.2,"tags":[],"storeName":"生菜油麦茼蒿","showOfferThree":true,"species":"","lastSnapshotId":58566,"modifiedTime":"2017-09-14 13:28:05","origin":"宁夏","moq":30,"isOffering":false,"shoppingCarProductCount":60,"variety":"油麦菜","packageSize":30,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F4%2F27%2F4d202253e9854afd8c56539098d32797.jpg-PRODUCTTHUMBNAIL","price":"3.2元/公斤","originalPrice":3.2,"inventory":610,"incr":30,"packageUnit":"公斤","storeId":55,"chargeUnit":"公斤"},{"pack":"1公斤/袋","type":1,"packageContainer":"袋","id":8372,"title":"本地青椒辣椒(一级)","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":211,"priceOnly":4,"tags":[],"storeName":"菜通八方蔬菜配送","showOfferThree":true,"species":null,"lastSnapshotId":43263,"modifiedTime":"2017-07-21 15:31:03","origin":"本地","moq":1,"isOffering":false,"shoppingCarProductCount":0,"variety":"青椒","packageSize":1,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F6%2F23%2Fa605708a419e4ab68194612c8832e91c.jpg-PRODUCTTHUMBNAIL","price":"4.0元/公斤","originalPrice":4,"inventory":926,"incr":1,"packageUnit":"公斤","storeId":207,"chargeUnit":"公斤"},{"pack":"10公斤/箱","type":1,"packageContainer":"箱","id":2718,"title":"紫背","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":78,"priceOnly":12,"tags":[],"storeName":"小陈蔬菜经销部","showOfferThree":true,"species":"","lastSnapshotId":43818,"modifiedTime":"2017-07-25 14:14:29","origin":"云南","moq":10,"isOffering":false,"shoppingCarProductCount":20,"variety":"","packageSize":10,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F3%2F23%2Fd0e99aab59f94b598ea3e18091927aac.jpg-PRODUCTTHUMBNAIL","price":"12.0元/公斤","originalPrice":12,"inventory":570,"incr":10,"packageUnit":"公斤","storeId":73,"chargeUnit":"公斤"},{"pack":"1公斤/袋","type":1,"packageContainer":"袋","id":8371,"title":"本地大红椒辣椒(一级)","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":211,"priceOnly":8,"tags":[],"storeName":"菜通八方蔬菜配送","showOfferThree":true,"species":null,"lastSnapshotId":46612,"modifiedTime":"2017-08-09 08:12:42","origin":"本地","moq":1,"isOffering":false,"shoppingCarProductCount":0,"variety":"大红椒","packageSize":1,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F6%2F23%2F1f94b562253e4edcb98aa4ba447f41f7.jpg-PRODUCTTHUMBNAIL","price":"8.0元/公斤","originalPrice":8,"inventory":918,"incr":1,"packageUnit":"公斤","storeId":207,"chargeUnit":"公斤"},{"pack":"5公斤/袋","type":1,"packageContainer":"袋","id":8376,"title":"宁夏菜花花椰菜(一级)","level":"","marketName":"北环","isAcceptOrders":1,"merchantId":211,"priceOnly":5,"tags":[],"storeName":"菜通八方蔬菜配送","showOfferThree":true,"species":null,"lastSnapshotId":46609,"modifiedTime":"2017-08-09 08:12:24","origin":"宁夏","moq":5,"isOffering":false,"shoppingCarProductCount":0,"variety":"菜花","packageSize":5,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F6%2F23%2Fa556e81f738e48109eaf677012b9ce1a.jpg-PRODUCTTHUMBNAIL","price":"5.0元/公斤","originalPrice":5,"inventory":616,"incr":5,"packageUnit":"公斤","storeId":207,"chargeUnit":"公斤"}]
     * offerProductList : [[{"offerProductDto":{"offerProductId":78,"productId":8250,"promotiomItemId":null,"productCount":1,"productUnitPrice":10,"offerStatus":4,"text":"14:13已报价"},"productInfo":{"pack":"1公斤/袋","type":1,"packageContainer":"袋","id":8250,"title":"本地油麦菜油麦菜(一级)","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":211,"priceOnly":10,"tags":[],"storeName":"菜通八方蔬菜配送","showOfferThree":true,"species":null,"lastSnapshotId":45150,"modifiedTime":"2017-08-02 09:21:51","origin":"本地","moq":1,"isOffering":true,"variety":"油麦菜","packageSize":1,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F6%2F10%2Fb72d85edad404c7c9707b8f521b415d8.jpg-PRODUCTTHUMBNAIL","price":"10.0元/公斤","originalPrice":10,"inventory":62,"incr":1,"packageUnit":"公斤","storeId":207,"chargeUnit":"公斤"}},{"offerProductDto":{"offerProductId":77,"productId":3321,"promotiomItemId":null,"productCount":1,"productUnitPrice":5,"offerStatus":4,"text":"14:13已报价"},"productInfo":{"pack":"1公斤/袋","type":1,"packageContainer":"袋","id":3321,"title":"油麦菜","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":90,"priceOnly":5,"tags":[],"storeName":"韩惠萍蔬菜配送店","showOfferThree":true,"species":"","lastSnapshotId":56521,"modifiedTime":"2017-09-10 07:27:33","origin":"","moq":1,"isOffering":true,"variety":"油麦菜","packageSize":1,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F4%2F20%2Fce0afbf9dccd4464a4d5bdc568a9f35b.jpg-PRODUCTTHUMBNAIL","price":"5.0元/公斤","originalPrice":5,"inventory":971,"incr":1,"packageUnit":"公斤","storeId":85,"chargeUnit":"公斤"}},{"offerProductDto":{"offerProductId":76,"productId":4523,"promotiomItemId":null,"productCount":1,"productUnitPrice":4,"offerStatus":4,"text":"14:13已报价"},"productInfo":{"pack":"5公斤/袋","type":1,"packageContainer":"袋","id":4523,"title":"宁夏油麦菜(一级)","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":60,"priceOnly":4,"tags":[],"storeName":"生菜油麦茼蒿","showOfferThree":true,"species":"","lastSnapshotId":58567,"modifiedTime":"2017-09-14 13:28:14","origin":"宁夏","moq":5,"isOffering":true,"variety":"油麦菜","packageSize":5,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F4%2F27%2F253e3b80b96542db89a0016f398a036c.jpg-PRODUCTTHUMBNAIL","price":"4.0元/公斤","originalPrice":4,"inventory":800,"incr":5,"packageUnit":"公斤","storeId":55,"chargeUnit":"公斤"}}]]
     * last : true
     * totalElements : 5
     * number : 0
     * responseTime : 2018-04-19 14:15:17
     * topCategory : [{"id":1,"name":"蔬菜","status":1,"for_purchaser":1,"for_supplier":1,"sort":1,"icon_id":13936,"creator_id":5,"created_time":"2016-09-30 10:00:05","modifier_id":56,"modified_time":"2017-04-18 19:37:03"}]
     * size : 5
     */

    private boolean last;
    private String totalElements;
    private int number;
    private String responseTime;
    private int size;
    private List<ContentBean> content;
    private List<List<OfferProductListBean>> offerProductList;
    private List<TopCategoryBean> topCategory;

    public boolean isLast() {
        return last;
    }

    public void setLast(boolean last) {
        this.last = last;
    }

    public String getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(String totalElements) {
        this.totalElements = totalElements;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(String responseTime) {
        this.responseTime = responseTime;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public List<ContentBean> getContent() {
        return content;
    }

    public void setContent(List<ContentBean> content) {
        this.content = content;
    }

    public List<List<OfferProductListBean>> getOfferProductList() {
        return offerProductList;
    }

    public void setOfferProductList(List<List<OfferProductListBean>> offerProductList) {
        this.offerProductList = offerProductList;
    }

    public List<TopCategoryBean> getTopCategory() {
        return topCategory;
    }

    public void setTopCategory(List<TopCategoryBean> topCategory) {
        this.topCategory = topCategory;
    }

    public static class ContentBean {
        /**
         * pack : 30公斤/箱
         * type : 1
         * packageContainer : 箱
         * id : 4524
         * title : 宁夏油麦菜(一级)
         * level : 一级
         * marketName : 北环
         * isAcceptOrders : 1
         * merchantId : 60
         * priceOnly : 3.2
         * tags : []
         * storeName : 生菜油麦茼蒿
         * showOfferThree : true
         * species :
         * lastSnapshotId : 58566
         * modifiedTime : 2017-09-14 13:28:05
         * origin : 宁夏
         * moq : 30
         * isOffering : false
         * shoppingCarProductCount : 60
         * variety : 油麦菜
         * packageSize : 30
         * isDisabled : 0
         * thumbnail : http://imgtest.epfresh.com/2017%2F4%2F27%2F4d202253e9854afd8c56539098d32797.jpg-PRODUCTTHUMBNAIL
         * price : 3.2元/公斤
         * originalPrice : 3.2
         * inventory : 610
         * incr : 30
         * packageUnit : 公斤
         * storeId : 55
         * chargeUnit : 公斤
         */

        private String pack;
        private int type;
        private String packageContainer;
        private int id;
        private String title;
        private String level;
        private String marketName;
        private int isAcceptOrders;
        private int merchantId;
        private double priceOnly;
        private String storeName;
        private boolean showOfferThree;
        private String species;
        private int lastSnapshotId;
        private String modifiedTime;
        private String origin;
        private int moq;
        private boolean isOffering;
        private int shoppingCarProductCount;
        private String variety;
        private int packageSize;
        private int isDisabled;
        private String thumbnail;
        private String price;
        private double originalPrice;
        private int inventory;
        private int incr;
        private String packageUnit;
        private int storeId;
        private String chargeUnit;
        private List<?> tags;

        public String getPack() {
            return pack;
        }

        public void setPack(String pack) {
            this.pack = pack;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getPackageContainer() {
            return packageContainer;
        }

        public void setPackageContainer(String packageContainer) {
            this.packageContainer = packageContainer;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public String getMarketName() {
            return marketName;
        }

        public void setMarketName(String marketName) {
            this.marketName = marketName;
        }

        public int getIsAcceptOrders() {
            return isAcceptOrders;
        }

        public void setIsAcceptOrders(int isAcceptOrders) {
            this.isAcceptOrders = isAcceptOrders;
        }

        public int getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(int merchantId) {
            this.merchantId = merchantId;
        }

        public double getPriceOnly() {
            return priceOnly;
        }

        public void setPriceOnly(double priceOnly) {
            this.priceOnly = priceOnly;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public boolean isShowOfferThree() {
            return showOfferThree;
        }

        public void setShowOfferThree(boolean showOfferThree) {
            this.showOfferThree = showOfferThree;
        }

        public String getSpecies() {
            return species;
        }

        public void setSpecies(String species) {
            this.species = species;
        }

        public int getLastSnapshotId() {
            return lastSnapshotId;
        }

        public void setLastSnapshotId(int lastSnapshotId) {
            this.lastSnapshotId = lastSnapshotId;
        }

        public String getModifiedTime() {
            return modifiedTime;
        }

        public void setModifiedTime(String modifiedTime) {
            this.modifiedTime = modifiedTime;
        }

        public String getOrigin() {
            return origin;
        }

        public void setOrigin(String origin) {
            this.origin = origin;
        }

        public int getMoq() {
            return moq;
        }

        public void setMoq(int moq) {
            this.moq = moq;
        }

        public boolean isIsOffering() {
            return isOffering;
        }

        public void setIsOffering(boolean isOffering) {
            this.isOffering = isOffering;
        }

        public int getShoppingCarProductCount() {
            return shoppingCarProductCount;
        }

        public void setShoppingCarProductCount(int shoppingCarProductCount) {
            this.shoppingCarProductCount = shoppingCarProductCount;
        }

        public String getVariety() {
            return variety;
        }

        public void setVariety(String variety) {
            this.variety = variety;
        }

        public int getPackageSize() {
            return packageSize;
        }

        public void setPackageSize(int packageSize) {
            this.packageSize = packageSize;
        }

        public int getIsDisabled() {
            return isDisabled;
        }

        public void setIsDisabled(int isDisabled) {
            this.isDisabled = isDisabled;
        }

        public String getThumbnail() {
            return thumbnail;
        }

        public void setThumbnail(String thumbnail) {
            this.thumbnail = thumbnail;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public double getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(double originalPrice) {
            this.originalPrice = originalPrice;
        }

        public int getInventory() {
            return inventory;
        }

        public void setInventory(int inventory) {
            this.inventory = inventory;
        }

        public int getIncr() {
            return incr;
        }

        public void setIncr(int incr) {
            this.incr = incr;
        }

        public String getPackageUnit() {
            return packageUnit;
        }

        public void setPackageUnit(String packageUnit) {
            this.packageUnit = packageUnit;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public String getChargeUnit() {
            return chargeUnit;
        }

        public void setChargeUnit(String chargeUnit) {
            this.chargeUnit = chargeUnit;
        }

        public List<?> getTags() {
            return tags;
        }

        public void setTags(List<?> tags) {
            this.tags = tags;
        }
    }

    public static class OfferProductListBean {
        /**
         * offerProductDto : {"offerProductId":78,"productId":8250,"promotiomItemId":null,"productCount":1,"productUnitPrice":10,"offerStatus":4,"text":"14:13已报价"}
         * productInfo : {"pack":"1公斤/袋","type":1,"packageContainer":"袋","id":8250,"title":"本地油麦菜油麦菜(一级)","level":"一级","marketName":"北环","isAcceptOrders":1,"merchantId":211,"priceOnly":10,"tags":[],"storeName":"菜通八方蔬菜配送","showOfferThree":true,"species":null,"lastSnapshotId":45150,"modifiedTime":"2017-08-02 09:21:51","origin":"本地","moq":1,"isOffering":true,"variety":"油麦菜","packageSize":1,"isDisabled":0,"thumbnail":"http://imgtest.epfresh.com/2017%2F6%2F10%2Fb72d85edad404c7c9707b8f521b415d8.jpg-PRODUCTTHUMBNAIL","price":"10.0元/公斤","originalPrice":10,"inventory":62,"incr":1,"packageUnit":"公斤","storeId":207,"chargeUnit":"公斤"}
         */

        private OfferProductDtoBean offerProductDto;
        private Object productInfo;

        public OfferProductDtoBean getOfferProductDto() {
            return offerProductDto;
        }

        public void setOfferProductDto(OfferProductDtoBean offerProductDto) {
            this.offerProductDto = offerProductDto;
        }

        public Object getProductInfo() {
            return productInfo;
        }

        public void setProductInfo(Object productInfo) {
            this.productInfo = productInfo;
        }

        public static class OfferProductDtoBean {
            /**
             * offerProductId : 78
             * productId : 8250
             * promotiomItemId : null
             * productCount : 1
             * productUnitPrice : 10
             * offerStatus : 4
             * text : 14:13已报价
             */

            private int offerProductId;
            private int productId;
            private Object promotiomItemId;
            private int productCount;
            private int productUnitPrice;
            private int offerStatus;
            private String text;

            public int getOfferProductId() {
                return offerProductId;
            }

            public void setOfferProductId(int offerProductId) {
                this.offerProductId = offerProductId;
            }

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public Object getPromotiomItemId() {
                return promotiomItemId;
            }

            public void setPromotiomItemId(Object promotiomItemId) {
                this.promotiomItemId = promotiomItemId;
            }

            public int getProductCount() {
                return productCount;
            }

            public void setProductCount(int productCount) {
                this.productCount = productCount;
            }

            public int getProductUnitPrice() {
                return productUnitPrice;
            }

            public void setProductUnitPrice(int productUnitPrice) {
                this.productUnitPrice = productUnitPrice;
            }

            public int getOfferStatus() {
                return offerStatus;
            }

            public void setOfferStatus(int offerStatus) {
                this.offerStatus = offerStatus;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }
        }
    }

    public static class TopCategoryBean {
        /**
         * id : 1
         * name : 蔬菜
         * status : 1
         * for_purchaser : 1
         * for_supplier : 1
         * sort : 1
         * icon_id : 13936
         * creator_id : 5
         * created_time : 2016-09-30 10:00:05
         * modifier_id : 56
         * modified_time : 2017-04-18 19:37:03
         */

        private int id;
        private String name;
        private int status;
        private int for_purchaser;
        private int for_supplier;
        private int sort;
        private int icon_id;
        private int creator_id;
        private String created_time;
        private int modifier_id;
        private String modified_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getFor_purchaser() {
            return for_purchaser;
        }

        public void setFor_purchaser(int for_purchaser) {
            this.for_purchaser = for_purchaser;
        }

        public int getFor_supplier() {
            return for_supplier;
        }

        public void setFor_supplier(int for_supplier) {
            this.for_supplier = for_supplier;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getIcon_id() {
            return icon_id;
        }

        public void setIcon_id(int icon_id) {
            this.icon_id = icon_id;
        }

        public int getCreator_id() {
            return creator_id;
        }

        public void setCreator_id(int creator_id) {
            this.creator_id = creator_id;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }

        public int getModifier_id() {
            return modifier_id;
        }

        public void setModifier_id(int modifier_id) {
            this.modifier_id = modifier_id;
        }

        public String getModified_time() {
            return modified_time;
        }

        public void setModified_time(String modified_time) {
            this.modified_time = modified_time;
        }
    }
}
